package com.atguigu.springbootdemo.service;

import com.atguigu.springbootdemo.bean.Employee;
import com.atguigu.springbootdemo.bean.Region;

import java.util.List;

/**
 * Created by Smexy on 2022/11/15
 */
public interface EmployeeService
{
    Employee getEmpById(Integer id);

    void insertEmp(Employee employee);

    void updateEmp(Employee employee);

    void deleteEmp(Integer id);

    List<Employee> getAll();

    List<Region> getAllRegion();
}
